﻿import tkinter
import tkcolorchooser

def funk():
    print(color), askcolor()

# ウィンドウを作成
window = tkinter.Tk("ScreenName", "BaseName", "ClassName")

# ラベル作成
label = tkinter.Label(window, text='Hello World', font=('Times', '10'))
label.pack()

button = tkinter.Button(window, "choose color", command=funk)
button.pack()
window.mainloop()

